#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
class AudioInfoInPut;
class QAudioInput;

class AudioInfoOutPut;
class QAudioOutput;

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(AudioInfoInPut *,QAudioInput *,AudioInfoOutPut*,QAudioOutput*,QWidget *parent = 0);
    ~MainWindow();

protected:
     void closeEvent(QCloseEvent *event);
private:
    Ui::MainWindow *ui;
    AudioInfoInPut  *pInF;
    QAudioInput     *pInA;

    AudioInfoOutPut *pOutF;
    QAudioOutput    *pOutA;
};

#endif // MAINWINDOW_H
